package com.jingdianjichi.project.application.convert;

import com.jingdianjichi.project.application.dto.SubjectInfoDTO;
import com.jingdianjichi.project.domain.bo.SubjectInfoBo;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * ClassName:SubjectCategoryConverter
 * Package:com.jingdianjichi.subject.domain.convert
 * Description:
 *
 * @Author fst
 * @Create 2024/9/26 15:45
 * @Version 1.0
 */
@Mapper
public interface SubjectInfoDTOConverter
{
    SubjectInfoDTOConverter INSTANCE= Mappers.getMapper(SubjectInfoDTOConverter.class);

    SubjectInfoBo convertDTOToBOsubject (SubjectInfoDTO subjectInfoDTO);

    List<SubjectInfoBo> convertDTOTOBOSubjectList (List<SubjectInfoDTO> subjectInfoDTOList);


    SubjectInfoDTO convertBOTODTOSubject(SubjectInfoBo subjectInfoBo);

    List<SubjectInfoDTO> convertBOTODTOSubjectList(List<SubjectInfoBo> subjectInfoBOList);
}
